package cn.iocoder.yudao.module.iot.controller.admin.device.vo.device;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class IotDeviceStatusRespVO {
    @Schema(description = "设备ID")
    private Long deviceId;

    @Schema(description = "设备状态，0-未激活，1-在线，2-离线")
    private Integer state;

    @Schema(description = "最后上线时间")
    private LocalDateTime onlineTime;

    @Schema(description = "最后离线时间")
    private LocalDateTime offlineTime;
} 